.class final Lnet/tsapps/topdeals/af;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private synthetic a:Lnet/tsapps/topdeals/PreferencesActivity;


# direct methods
.method constructor <init>(Lnet/tsapps/topdeals/PreferencesActivity;)V
    .locals 0

    iput-object p1, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onClick(Landroid/view/View;)V
    .locals 3

    const/4 v1, 0x0

    iget-object v0, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->j(Lnet/tsapps/topdeals/PreferencesActivity;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->k(Lnet/tsapps/topdeals/PreferencesActivity;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->a(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/h/a;

    move-result-object v0

    invoke-virtual {v0}, Lnet/tsapps/topdeals/h/a;->h()Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    :goto_0
    iget-object v2, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v2}, Lnet/tsapps/topdeals/PreferencesActivity;->a(Lnet/tsapps/topdeals/PreferencesActivity;)Lnet/tsapps/topdeals/h/a;

    move-result-object v2

    invoke-virtual {v2, v0}, Lnet/tsapps/topdeals/h/a;->a(Z)V

    iget-object v0, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0}, Lnet/tsapps/topdeals/PreferencesActivity;->l(Lnet/tsapps/topdeals/PreferencesActivity;)V

    iget-object v0, p0, Lnet/tsapps/topdeals/af;->a:Lnet/tsapps/topdeals/PreferencesActivity;

    invoke-static {v0, v1}, Lnet/tsapps/topdeals/PreferencesActivity;->a(Lnet/tsapps/topdeals/PreferencesActivity;Z)V

    return-void

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method
